package com.cskaoyan.catmall.model.vo;

import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 创建日期: 2022-01-07-16-40
 * author : LL
 * description: 专题管理vo
 */
@NoArgsConstructor
@Data
public class ItemOfPromotionTopicVo {
    private Integer id;
    private String title;
    private String subtitle;
    private Integer price;
    private String readCount;
    private String picUrl;
    private Integer sortOrder;
    private List<?> goods;
    private String addTime;
    private String updateTime;
    private Boolean deleted;
    private String content;

    private Integer deletedNum;

    public void setDeletedNum(Integer deletedNum) {
//        this.deletedNum = deletedNum;
        if (deletedNum == 0){
            this.deleted = false;
        }else this.deleted = true;
    }
}